package com.eduction.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppConfig {
	
    
	@Value("${file_path:}")
	private String filePath ;

	@Value("${pic_path:}")
	private String picPath;
	
	@Value("${allow_image_type:}")
	private String imageType;
	
	@Value("${allow_file_type:}")
	private String fileType;
	
	@Value("${mapping_pic:}")
	private String mappingPic;
	
	@Value("${mapping_file:}")
	private String mappingFile;
	
	@Value("${sys_province:}")
	private String sysProvince;
	
	@Value("${tech_sup_amount:}")
	private Integer techSupAmount;
	
	@Value("${pic_size:}")
	private Integer picSize;
	
	@Value("${file_size:}")
	private Integer fileSize;
	
	public Integer getPicSize() {
		return picSize;
	}

	public void setPicSize(Integer picSize) {
		this.picSize = picSize;
	}

	public Integer getTechSupAmount() {
		return techSupAmount;
	}

	public void setTechSupAmount(Integer techSupAmount) {
		this.techSupAmount = techSupAmount;
	}

	public String getSysProvince() {
		return sysProvince;
	}

	public void setSysProvince(String sysProvince) {
		this.sysProvince = sysProvince;
	}

	public String getMappingPic() {
		return mappingPic;
	}

	public String getMappingFile() {
		return mappingFile;
	}

	public void setMappingPic(String mappingPic) {
		this.mappingPic = mappingPic;
	}

	public void setMappingFile(String mappingFile) {
		this.mappingFile = mappingFile;
	}

	@Value("${project_addr:}")
	private String projectAddr;
	
	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getProjectAddr() {
		return projectAddr;
	}

	public void setProjectAddr(String projectAddr) {
		this.projectAddr = projectAddr;
	}

	public String getImageType() {
		return imageType;
	}

	public void setImageType(String imageType) {
		this.imageType = imageType;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Integer getFileSize() {
		return fileSize;
	}

	public void setFileSize(Integer fileSize) {
		this.fileSize = fileSize;
	}
	
	
	

	
    
}
